WCPay\MultiCurrency\FrontendCurrencies S

Total Complexity 46
Dependencies 6
Dependents 3
Total lines 407
Lines of code 170
Logical lines of code 107
Comment lines 181
Methods 19
Properties 10

Methods 19

Method Rating Maintainability Complexity Lines of code
get_woocommerce_price_format()
S
56 6 19
init_order_currency()
S
54 4 20
init_hooks()
S
56 4 16
init_order_currency_from_query_vars()
S
64 4 10
get_price_decimal_separator()
S
62 3 12
should_use_order_currency()
S
59 2 15
get_woocommerce_currency()
S
67 3 9
maybe_clear_order_currency_after_formatted_order_total()
S
71 3 6
maybe_init_order_currency_from_order_total_prop()
S
72 2 6
get_selected_currency_code()
S
72 2 6
get_store_currency()
S
72 2 6
get_price_decimals()
S
68 2 7
get_price_thousand_separator()
S
68 2 7
get_currency_code()
S
68 2 8
__construct()
S
71 1 6
get_order_currency()
S
82 1 3
fix_price_decimals_for_shipping_rates()
S
75 1 4
selected_currency_changed()
S
72 1 6
add_currency_to_cart_hash()
S
75 1 4